package de.tsystems.dict.api;

import de.tsystems.dict.api.impl.LanguageDao;
import de.tsystems.dict.model.Language;

public interface LanguageService extends GenericService<Language> {

    /**
     * returns language by code
     * @param languageCode the code of the language {@see de.tsystems.dict.api.LanguageService.LanguageEnum}
     * @return Language object
     */
    Language findLanguage(String languageCode);

    void setLanguageDao(LanguageDao mock);

    LanguageDao getLanguageDao();

    Language create(String name);

}